(function() {
    var $self;
    return $self = Ext.define('Aurora.view.RightsViewList', {
        extend: 'Ext.dataview.List',
        requires: ['Aurora.store.RightsList'],
        xtype: 'rightsViewList',

        config: {
            itemTpl: '<div>{code}</div><div>{reference} - <span style="font-style: italic">{descripton}</span></div>'
        },
        store: {
            xtype: 'rightsList'
        }
    });
})();
